package com.kingdee.eas.patch;

import java.io.File;

/**
 * Created by Niki on 2018/5/15 12:00
 */
public class Constant {
    /* 补丁默认下载的位置 */
    public static final String tmpDir ;

    static{
        String classPath = Constant.class.getResource("Constant.class").toString();
        tmpDir = classPath + File.separator + "tmp" + File.separator + "patch";
    }

    public static String getTmpDir() {
        return tmpDir;
    }

    /* 补丁包中的配置文件的名称 */
    public static final String PROPERTIES_NAME = "patch.properties";

    /* 无法动态获取agent地址，是否使用默认地址 */
    public static final boolean useFixedUrl = false ;
    /* 默认agent地址 */
    public static final String agentPath = "";

}
